package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 分销订单商品对象 shanglala_fx_order_product
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class FxOrderProduct
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer pigcmsId;

    /** 分销订单id */
    @Excel(name = "分销订单id")
    private Integer fxOrderId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 成本价 */
    @Excel(name = "成本价")
    private BigDecimal costPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;

    /** 库存id */
    @Excel(name = "库存id")
    private Integer skuId;

    /** 库存信息 */
    @Excel(name = "库存信息")
    private String skuData;

    /** 买家留言 */
    @Excel(name = "买家留言")
    private String comment;

    /** 源商品id */
    @Excel(name = "源商品id")
    private Long sourceProductId;

    public void setPigcmsId(Integer pigcmsId) 
    {
        this.pigcmsId = pigcmsId;
    }

    public Integer getPigcmsId() 
    {
        return pigcmsId;
    }
    public void setFxOrderId(Integer fxOrderId) 
    {
        this.fxOrderId = fxOrderId;
    }

    public Integer getFxOrderId() 
    {
        return fxOrderId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCostPrice(BigDecimal costPrice) 
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice() 
    {
        return costPrice;
    }
    public void setQuantity(Integer quantity) 
    {
        this.quantity = quantity;
    }

    public Integer getQuantity() 
    {
        return quantity;
    }
    public void setSkuId(Integer skuId) 
    {
        this.skuId = skuId;
    }

    public Integer getSkuId() 
    {
        return skuId;
    }
    public void setSkuData(String skuData) 
    {
        this.skuData = skuData;
    }

    public String getSkuData() 
    {
        return skuData;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setSourceProductId(Long sourceProductId) 
    {
        this.sourceProductId = sourceProductId;
    }

    public Long getSourceProductId() 
    {
        return sourceProductId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pigcmsId", getPigcmsId())
            .append("fxOrderId", getFxOrderId())
            .append("productId", getProductId())
            .append("price", getPrice())
            .append("costPrice", getCostPrice())
            .append("quantity", getQuantity())
            .append("skuId", getSkuId())
            .append("skuData", getSkuData())
            .append("comment", getComment())
            .append("sourceProductId", getSourceProductId())
            .toString();
    }
}
